package com.light.sys.service;

import com.light.common.base.BaseService;
import com.light.sys.domain.SysMenuDO;
import com.light.sys.query.SysMenuQuery;

import java.util.List;

/**
 * 父菜单ID，一级菜单为0
 * 
 * @author yhr
 * @email 7404@163.com
 * @date 2021-02-08
 */
public interface SysMenuService extends BaseService<SysMenuDO> {
	
	List<SysMenuDO> data(SysMenuQuery sysMenuQuery);
	
	int count(SysMenuQuery sysMenuQuery);

	List<SysMenuDO> selectChildrens(Long id);
}
